enshrined\svgSanitize\Sanitizer B

Total Complexity 78
Dependencies 13
Dependents 1
Total lines 654
Lines of code 290
Logical lines of code 145
Comment lines 252
Methods 29
Properties 12

Methods 29

Method Rating Maintainability Complexity Lines of code
startClean()
A
41 14 59
cleanAttributesOnWhitelist()
A
48 10 31
isHrefSafeValue()
A
48 8 36
cleanUnsafeNodes()
S
54 7 19
sanitize()
S
51 5 28
isUseTagExceedingThreshold()
S
58 5 17
cleanHrefs()
S
64 2 10
hasRemoteReference()
S
65 2 9
isUseTagDirty()
S
74 2 4
setUpBefore()
S
69 2 7
resetAfter()
S
73 2 5
cleanXlinkHrefs()
S
63 2 10
setUseNestingLimit()
S
80 1 3
isDataAttribute()
S
78 1 3
isAriaAttribute()
S
78 1 3
useThreshold()
S
80 1 3
removeXMLTag()
S
80 1 3
minify()
S
80 1 3
getAllowedTags()
S
82 1 3
removeNonPrintableCharacters()
S
78 1 3
setXMLOptions()
S
81 1 3
setAllowedTags()
S
79 1 3
resetInternal()
S
70 1 6
getXMLOptions()
S
82 1 3
getXmlIssues()
S
82 1 3
removeRemoteReferences()
S
81 1 3
setAllowedAttrs()
S
79 1 3
getAllowedAttrs()
S
82 1 3
__construct()
S
75 1 4